package com.zengde.chapter1.pojo;

import com.zengde.chapter1.pojo.def.Animal;
import org.springframework.stereotype.Component;

@Component
public class Dog  implements Animal {
    @Override
    public void use() {
        System.out.println("小狗看门");
    }
}
